home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!beachyhd.demon.co.uk
- From: Adam@beachyhd.demon.co.uk
- Newsgroups: comp.sys.amiga.programmer
- Subject: Top line of LISTVIEW
- Date: 07 Jan 96 12:22:49 GMT
- Organization: Beachy Head - UK
- Message-ID: <30f00f72@beachyhd.demon.co.uk>
- X-NNTP-Posting-Host: beachyhd.demon.co.uk
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-GateSoftware: AmiGate 1.6 (13.11.95)
- MMDF-Warning: Parse error in original version of preceding line at relay-4.mail.demon.net
- X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!beachyhd.demon.co.uk
-
- Hi all,
-
- In a program that I'm writing I have a GadTools LISTVIEW gadget. Now my program
- -- at any time -- needs to be able to tell which line number (0 to whatever) is
- being displayed at the very top of the listview.
-
- For V39+ this is no problem, as I can use the GT_GetGadgetAttrs() function,
- with GTLV_Top as the tagID. This function doesn't exist before V39, though, so
- I was wondering if anyone had a 'dirty' way I could get this data for when my
- program is running on V36 - V38 machines.
-
- It doesn't actually matter that it would be a 'hack', as all future version of
- the OS would be using the GT_GetGadgetAttrs() method. Only the older versions
- of the OS (which aren't going to change) would use the 'hack' method, so there
- won't be any compatilibity problems..
-
- My thanks in advance!
-
- .\dam. [TEAM AMIGA] //\ ad32@brighton.ac.uk \\/
-
-